<template>
    <RouterLink to="/ShowUserBorrowInfo">用户借款</RouterLink>
      <ShowRedeemInfoContent v-slot="info">
                <a href="#" @click="DataSave(info.id)" >还款</a>
      </ShowRedeemInfoContent>
</template>

<script setup lang="ts">
import ShowRedeemInfoContent from './ShowRedeemInfoContent.vue'
import {useRouter} from 'vue-router'

const router = useRouter();


const DataSave = (UBid:number) =>{
      router.push({
        name:"AddUserBorrowRedeemInfo",
        params:{
            UBid:UBid
        }
      })
}
</script>